﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="PostListingInformation.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    
    <script type="text/javascript">
        function ShowSubCatDdl() {
            var e = document.getElementById('<% =ddlCategorey.ClientID %>');
            var strUser = e.options[e.selectedIndex].value;


            if (strUser.toUpperCase() != "Categorey".toUpperCase()) {
                var e = document.getElementById('<% =ddlSubCategorey.ClientID %>');
                e.disabled = false;
            }
            else {
                var e = document.getElementById('<% =ddlSubCategorey.ClientID %>');
                e.disabled = true;
            }

        }

        function ShowSecSubCatDdl() {
            var e = document.getElementById('<% =ddlSubCategorey.ClientID %>');
            var strUser = e.options[e.selectedIndex].value;

            if (strUser.toUpperCase() == "Commercial".toUpperCase()) {
                var e = document.getElementById('<% =ddlSecSubCategorey.ClientID %>');
                e.disabled = false;
                e.style.visibility = "visible";

                var cn = document.getElementById('<% =txtBedroom.ClientID %>');
                cn.value = 0;
                cn.disabled = true;

                var cnt = document.getElementById('<% =ddlPets.ClientID %>');
                cnt.selectedIndex = 4;
                cnt.disabled = true;
            }
            else {
                var e = document.getElementById('<% =ddlSecSubCategorey.ClientID %>');
                e.selectedIndex = 0;
                e.disabled = true;
                e.style.visibility = "hidden";

                var cn = document.getElementById('<% =txtBedroom.ClientID %>');
                cn.value = "";
                cn.disabled = false;

                var cnt = document.getElementById('<% =ddlPets.ClientID %>');
                cnt.selectedIndex = 0;
                cnt.disabled = false;
            }

        }
    </script>
    <script type="text/javascript">
        function btnPostedByMe_onclick() {
            top.location.href = "http://www.facebook.com/profile.php?id=" + document.getElementById('<%= hideFBID.ClientID %>').value;

        }
    </script>
    <script type="text/javascript">
        function saveAllInformation() {
            if (DoValidation()) {
                __doPostBack('callPostBack', 'btnPostClick');
            }
        }

        function DoValidation() {
            var text = document.getElementById('<% =txtText.ClientID %>');
            if (text.value == ' ' || text.value == ' What are You Listing?') {
                text.style.color = "red";
                text.style.borderColor = "red";
                //text.focus();
                return false;
            }
            else {
                text.style.color = "black";
                text.style.borderColor = "#EEEFF0";
            }

            var price = document.getElementById('<% =txtPrice.ClientID %>');
            if (price.value == ' ' || price.value == ' Price Per Month' || isNaN(price.value) || price.value < 0 || price.value.indexOf('.') != -1) {
                price.style.color = "red";
                price.style.borderColor = "red";
                //price.focus();
                return false;
            }
            else {
                price.style.color = "black";
                price.style.borderColor = "#EEEFF0";
            }

            var state = document.getElementById('<% =ddlState.ClientID %>');
            if (state.value == ' ' || state.value == 'Select State') {
                state.style.color = "red";
                state.style.borderColor = "red";
                //state.focus();
                return false;
            }
            else {
                state.style.color = "black";

            }

            var city = document.getElementById('<% =ddlCity.ClientID %>');
            if (city.value == ' ' || city.value == 'Select City') {
                city.style.color = "red";
                city.style.borderColor = "red";
                //city.focus();
                return false;
            }
            else {
                city.style.color = "black";

            }

            var area = document.getElementById('<% =txtArea.ClientID %>');
            if (area.value == ' ' || area.value == ' Area') {
                area.style.color = "red";
                area.style.borderColor = "red";
                //area.focus();
                return false;
            }
            else {
                area.style.color = "black";
                area.style.borderColor = "#EEEFF0";
            }

            var categorey = document.getElementById('<% =ddlCategorey.ClientID %>');
            if (categorey.value == ' ' || categorey.value == 'Categorey') {
                categorey.style.color = "red";
                categorey.style.borderColor = "red";
                //categorey.focus();
                return false;
            }
            else {
                categorey.style.color = "black";
                categorey.style.borderColor = "#EEEFF0";
            }

            var Subcategorey = document.getElementById('<% =ddlSubCategorey.ClientID %>');
            if (Subcategorey.value == ' ' || Subcategorey.value == 'SubCategorey') {
                Subcategorey.style.color = "red";
                Subcategorey.style.borderColor = "red";
                //Subcategorey.focus();
                return false;
            }
            else {
                Subcategorey.style.color = "black";
                Subcategorey.style.borderColor = "#EEEFF0";
            }

            var SecSubcategorey = document.getElementById('<% =ddlSecSubCategorey.ClientID %>');
            if (SecSubcategorey.style.visibility == "visible") {
                if (SecSubcategorey.value == ' ' || SecSubcategorey.value == 'Sec SubCategorey') {
                    SecSubcategorey.style.color = "red";
                    SecSubcategorey.style.borderColor = "red";
                    // SecSubcategorey.focus();
                    return false;
                }
            }
            else {
                SecSubcategorey.style.color = "black";
                SecSubcategorey.style.borderColor = "#EEEFF0";
            }

            var desc = document.getElementById('<% =txtDesc.ClientID %>');
            if (desc.value == ' ' || desc.value == ' Describe it.') {
                desc.style.color = "red";
                desc.style.borderColor = "red";
                //desc.focus();
                return false;
            }
            else {
                desc.style.color = "black";
                desc.style.borderColor = "#EEEFF0";
            }


            var BR = document.getElementById('<% =txtBedroom.ClientID %>');
            if (BR.value == '' || isNaN(BR.value) || BR.value < 0 || BR.value.indexOf('.') != -1) {
                BR.style.color = "red";
                BR.style.borderColor = "red";
                //BR.focus();
                return false;
            }
            else {
                BR.style.color = "black";
                BR.style.borderColor = "#EEEFF0";
            }

            var BA = document.getElementById('<% =txtBathroom.ClientID %>');
            if (BA.value == '' || isNaN(BA.value) || BA.value < 0 || BA.value.indexOf('.') != -1) {
                BA.style.color = "red";
                BA.style.borderColor = "red";
                //BA.focus();
                return false;
            }
            else {
                BA.style.color = "black";
                BA.style.borderColor = "#EEEFF0";
            }

            var sqfts = document.getElementById('<% =txtSqfeet.ClientID %>');
            if (sqfts.value == '' || isNaN(sqfts.value) || sqfts.value < 0 || sqfts.value.indexOf('.') != -1) {
                sqfts.style.color = "red";
                sqfts.style.borderColor = "red";
                //sqfts.focus();
                return false;
            }
            else {
                sqfts.style.color = "black";
                sqfts.style.borderColor = "#EEEFF0";
            }



            var pets = document.getElementById('<% =ddlPets.ClientID %>');
            if (pets.value == ' ' || pets.value == 'Select...') {
                pets.style.color = "red";
                pets.style.borderColor = "red";
                //pets.focus();
                return false;
            }
            else {
                pets.style.color = "black";
                pets.style.borderColor = "#EEEFF0";
            }


            var watchman = document.getElementById('<% =ddlWatchman.ClientID %>');
            if (watchman.value == ' ' || watchman.value == 'Select...') {
                watchman.style.color = "red";
                watchman.style.borderColor = "red";
                //watchman.focus();
                return false;
            }
            else {
                watchman.style.color = "black";
                watchman.style.borderColor = "#EEEFF0";
            }

            var phone = document.getElementById('<% =txtPhoneNo.ClientID %>');
            if (phone.value != '') {
                if (isNaN(phone.value) || (phone.value < 0) || phone.value.indexOf('.') != -1) {
                    phone.style.color = "red";
                    phone.style.borderColor = "red";
                    //phone.focus();
                    return false;
                }
                else {

                    phone.style.color = "black";
                    phone.style.borderColor = "#EEEFF0";

                    if (ValidatePhoneNo(phone.value)) {
                        phone.style.color = "red";
                        phone.style.borderColor = "red";
                        //phone.focus();
                        return false;
                    }
                    else {
                        phone.style.color = "black";
                        phone.style.borderColor = "#EEEFF0";
                    }

                }
            }

            return true;
        }

        function ValidatePhoneNo(y) {

            if (y.length != 10) {
                return true;
            }
            if (y.charAt(0) != "7" && y.charAt(0) != "8" && y.charAt(0) != "9") {
                return true;
            }
        }
    </script>
    <style type="text/css">
        .fb_button
        {
            background-color: #3b5998;
            border-color: #d8dfea rgb(14, 31, 91) rgb(14, 31, 91) rgb(216, 223, 234);
            border-style: solid;
            border-width: 1px;
            color: #fff;
            font-family: "lucida grande" , tahoma, verdana, arial, sans-serif;
            font-size: 11px;
            margin: 0 2px;
            padding: 2px 18px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%" border="0" cellpadding="3" cellspacing="3" frame="box" rules="none"
        style="border: thin solid #eeeff0;">
        <tr>
            <td style="background-color: white" valign="top">
                <table width="100%" border="0" cellpadding="3">
                    <tr>
                        <td>
                            <table border="0" width="100%" frame="below" rules="none" style="border-color: #eeeff0;">
                                <tr>
                                    <td>
                                        <asp:LinkButton ID="linkPost" Text="Post a Listing" runat="server" Style="text-decoration: none"
                                            Font-Names="Verdana" Font-Size="12" ForeColor="Black" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table border="0" cellpadding="8" width="100%" frame="below" rules="none" style="border-color: #eeeff0;">
                                <tr>
                                    <td style="white-space: nowrap">
                                        <asp:TextBox runat="server" ID="txtText" Font-Names="verdana" Font-Size="9" ForeColor="gray"
                                            Text=" What are You Listing?" onclick="this.style.color='black'" onmouseout="this.style.color='gray'"
                                            Width="330" Height="25" onfocus="if(this.value==' What are You Listing?')this.value=''; "
                                            onblur="if(this.value=='')this.value=' What are You Listing?'" BorderColor="#EEEFF0"
                                            BorderStyle="Solid" ToolTip=" What are You Listing?" />
                                        &nbsp
                                        <asp:TextBox runat="server" ID="txtPrice" Font-Names="verdana" Font-Size="9" ForeColor="gray"
                                            Text=" Price Per Month" onclick="this.style.color='black'" onmouseout="this.style.color='gray'"
                                            Width="120" Height="25" onfocus="if(this.value==' Price Per Month')this.value=''"
                                            onblur="if(this.value=='')this.value=' Price Per Month'" BorderColor="#EEEFF0"
                                            BorderStyle="Solid" ToolTip=" Price Per Month" />
                                    </td>
                                </tr>


                                <tr>
                                    <td style="white-space: nowrap">
                                        <asp:DropDownList runat="server" ID="ddlCountry" Font-Names="verdana" Font-Size="9"
                                            ForeColor="black" Width="230" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid">
                                            <asp:ListItem Selected="True" Text="India" />
                                        </asp:DropDownList>
                                        &nbsp
                                        <asp:DropDownList runat="server" ID="ddlState" Font-Names="verdana" Font-Size="9"
                                            ForeColor="black" Width="230" Height="25" BorderColor="#EEEFF0" 
                                            BorderStyle="Solid" AutoPostBack="True" 
                                            onselectedindexchanged="ddlState_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: nowrap">
                                        <asp:DropDownList runat="server" ID="ddlCity" Font-Names="verdana" Font-Size="9"
                                            ForeColor="black" Width="230" Height="25" BorderColor="#EEEFF0" 
                                            BorderStyle="Solid" Enabled="False">
                                        </asp:DropDownList>
                                        &nbsp
                                        <asp:TextBox runat="server" ID="txtArea" Font-Names="verdana" Font-Size="9" ForeColor="gray"
                                            Text=" Area" onclick="this.style.color='black'" onmouseout="this.style.color='gray'"
                                            Width="230" Height="25" onfocus="if(this.value==' Area')this.value=''" onblur="if(this.value=='')this.value=' Area'"
                                            BorderColor="#EEEFF0" BorderStyle="Solid" ToolTip=" Area" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: nowrap">
                                        <table border="0">
                                            <tr>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="ddlCategorey" Font-Names="verdana" Font-Size="9"
                                                        ForeColor="black" Width="150" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid">
                                                        <asp:ListItem Selected="True" Text="Categorey" />
                                                        <%--<asp:ListItem Text="Jobs" />--%>
                                                        <asp:ListItem Text="Rentals" />
                                                    </asp:DropDownList>
                                                </td>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="ddlSubCategorey" Font-Names="verdana" Font-Size="9"
                                                        ForeColor="black" Width="150" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid"
                                                        Enabled="False">
                                                        <asp:ListItem Selected="True" Text="SubCategorey" />
                                                        <asp:ListItem Text="Apartment" />
                                                        <asp:ListItem Text="Individual House" />
                                                        <asp:ListItem Text="Banglow" />
                                                        <asp:ListItem Text="Commercial" />
                                                    </asp:DropDownList>
                                                </td>
                                                <td style="visibility:hidden"> 
                                                    <asp:DropDownList runat="server" ID="ddlSecSubCategorey" Font-Names="verdana" Font-Size="9"
                                                        Enabled="false" ForeColor="black" Width="150" Height="25" BorderColor="#EEEFF0"
                                                        BorderStyle="Solid">
                                                        <asp:ListItem Selected="True" Text="Sec SubCategorey" />
                                                        <asp:ListItem Text="Indrustial property" />
                                                        <asp:ListItem Text="Office Space" />
                                                        <asp:ListItem Text="Retail Property" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox runat="server" ID="txtWhy" Font-Names="verdana" Font-Size="9" ForeColor="gray"
                                            Text=" Why are You Listing?" onclick="this.style.color='black'" onmouseout="this.style.color='gray'"
                                            Width="470" Height="25" onfocus="if(this.value==' Why are You Listing?')this.value=''"
                                            onblur="if(this.value=='')this.value=' Why are You Listing?'" BorderColor="#EEEFF0"
                                            BorderStyle="Solid" ToolTip=" Why are You Listing?" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: nowrap" align="left">
                                        <asp:TextBox runat="server" ID="txtDesc" Font-Names="verdana" Font-Size="9" ForeColor="gray"
                                            Text=" Describe it." onclick="this.style.color='black'" onmouseout="this.style.color='gray'"
                                            Width="470" Height="80" onfocus="if(this.value==' Describe it.')this.value=''"
                                            onblur="if(this.value=='')this.value=' Describe it.'" BorderColor="#EEEFF0" BorderStyle="Solid"
                                            TextMode="MultiLine" ToolTip=" Describe it." />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="left">
                                        <table border="0" cellpadding="5">
                                            <tr>
                                                <td align="right">
                                                    <asp:Label ID="lblBedroom" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Bedrooms:" />
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtBedroom" Font-Names="verdana" Font-Size="9" ForeColor="black"
                                                        Width="125" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid"></asp:TextBox>
                                                </td>
                                                <td align="right">
                                                    <asp:Label ID="lblBA" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Bathrooms:" />
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtBathroom" Font-Names="verdana" Font-Size="9" ForeColor="black"
                                                        Width="125" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:Label ID="lblSqft" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Sq Feets:" />
                                                </td>
                                                <td>
                                                    <asp:TextBox runat="server" ID="txtSqfeet" Font-Names="verdana" Font-Size="9" ForeColor="black"
                                                        Width="125" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid"></asp:TextBox>
                                                </td>
                                                <td align="right" style="white-space: nowrap">
                                                    <asp:Label ID="lblCarParking" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Car Parking:" />
                                                </td>
                                                <td>
                                                    <asp:DropDownList runat="server" ID="ddlCarParking" Font-Names="verdana" Font-Size="9"
                                                        ForeColor="black" Width="125" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid">
                                                        <asp:ListItem Selected="True" Text="0" />
                                                        <asp:ListItem Text="1" />
                                                        <asp:ListItem Text="2" />
                                                        <asp:ListItem Text="3" />
                                                        <asp:ListItem Text="4" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="white-space: nowrap">
                                                    <asp:Label ID="lblPets" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Pets Allowed:" />
                                                </td>
                                                <td style="font-family: verdana; font-size: 9px; color: black">
                                                    <asp:DropDownList runat="server" ID="ddlPets" Font-Names="verdana" Font-Size="9"
                                                        ForeColor="black" Width="125px" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid">
                                                        <asp:ListItem Selected="True" Text="Select..." />
                                                        <asp:ListItem Text="Dogs Ok" />
                                                        <asp:ListItem Text="Cats Ok" />
                                                        <asp:ListItem Text="Cats Ok/Dogs Ok" />
                                                        <asp:ListItem Text="No Pets" />
                                                    </asp:DropDownList>
                                                </td>
                                                <td align="right" style="white-space: nowrap">
                                                    <asp:Label ID="lblWatchman" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="WatchMan:" />
                                                </td>
                                                <td style="font-family: verdana; font-size: 9px; color: black">
                                                    <asp:DropDownList runat="server" ID="ddlWatchman" Font-Names="verdana" Font-Size="9"
                                                        ForeColor="black" Width="125" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid">
                                                        <asp:ListItem Selected="True" Text="Select..." />
                                                        <asp:ListItem Text="Part-Time" />
                                                        <asp:ListItem Text="Full-time" />
                                                        <asp:ListItem Text="Not Available" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:Label ID="lblAddress" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Address:" />
                                                </td>
                                                <td colspan="3">
                                                    <asp:TextBox runat="server" ID="txtAddress" Font-Names="verdana" Font-Size="9" ForeColor="black"
                                                        Width="360" Height="50" TextMode="MultiLine" BorderColor="#EEEFF0" BorderStyle="Solid"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                </td>
                                                <td colspan="3">
                                                    <asp:CheckBox ID="chkShowAddress" Text="Show Address In Listing" runat="server" Font-Names="verdana"
                                                        Font-Size="9" ForeColor="#666666" />
                                                </td>
                                            </tr>
                                            <tr style="visibility:hidden">
                                                <td align="right">
                                                    <asp:Label ID="lblPhoneNo" runat="server" Font-Names="verdana" Font-Size="9" ForeColor="#666666"
                                                        Text="Phone No:" />
                                                </td>
                                                <td colspan="3">
                                                    <asp:TextBox runat="server" ID="txtPhoneNo" Font-Names="verdana" Font-Size="9" ForeColor="black"
                                                        Width="360" Height="25" BorderColor="#EEEFF0" BorderStyle="Solid"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="white-space: nowrap; font-family: verdana; font-size: 12px; color: black;"
                                        align="left">
                                        <asp:CheckBox ID="chkFriend" runat="server" Text="Post to my friends only - no one else can see it" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <table width="100%">
                                <tr>
                                    <td align="right" valign="top">
                                        <asp:Button runat="server" ID="btnClear" Text="Clear" BackColor="#5C7BB3" BorderColor="Black"
                                            BorderStyle="None" ForeColor="White" Font-Names="verdana" Font-Size="11pt" Height="25"
                                            OnClick="btnClear_Click" />
                                    </td>
                                    <td width="45" align="right" valign="top">
                                        <input id="btnPost" type="button" onclick="saveAllInformation()" value="Post" style="border-style: none;
                                            border-color: #000000; font-family: verdana; font-size: 11pt; color: #FFFFFF;
                                            background-color: #5C7BB3; height: 25px" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblMessage" runat="server" Font-Names="verdana" Font-Size="10" ForeColor="red" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:ValidationSummary ID="ValSummary" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
            <td style="border: thin solid #dbdbdc; padding: inherit; background-color: #f4f4f5;"
                valign="top">
                <table border="0" cellpadding="3" cellspacing="3" width="100%">
                    <tr>
                        <td>
                            <table border="0" rules="none" frame="below" cellpadding="3" cellspacing="3" style="border-color: #dbdbdc">
                                <tr>
                                    <td>
                                        <table>
                                            <tr>
                                                <td valign="top">
                                                    <asp:Image ID="imgUsr" runat="server" Width="60" Height="60" />
                                                </td>
                                                <td valign="top" style="white-space: nowrap">
                                                    <asp:Label runat="server" ID="lblProfileMsg" ForeColor="Black" Font-Size="8pt" Font-Names="Verdana"
                                                        Font-Bold="True" />
                                                    <asp:Label runat="server" ID="lblFriends" Visible="true" ForeColor="Black" Font-Size="8"
                                                        Font-Names="Verdana" Font-Italic="True" />
                                                    <asp:Label runat="server" ID="lblProfileMes" Visible="true" ForeColor="Black" Font-Size="8"
                                                        Font-Names="Verdana" Font-Italic="True" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <input id="hideFBID" type="hidden" runat="server" />
                                        <input id="lblPostedbyMe" type="button" value="View My Profile" style="font-family: verdana;
                                            font-size: 8pt; color: #2857d4; border-style: none; border-color: #FFFFFF; text-align: left;
                                            height: 17px;" runat="server" onclick="btnPostedByMe_onclick()" onmouseover="this.style.textDecoration='underline'"
                                            onmouseout="this.style.textDecoration='none'" />
                                    </td>
                                </tr>
                                <tr>
                                    <td height="15">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:LinkButton Style="text-decoration: none" onmouseover="this.style.textDecoration='underline'"
                                onmouseout="this.style.textDecoration='none'" runat="server" ID="linkActiveListing"
                                Text="Active Listing" ForeColor="#3b5998" Font-Bold="true" Font-Size="9" Font-Names="Verdana"
                                OnClick="linkActiveListing_Click" />
                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                            <asp:Label ID="lblActiveListingCount" runat="server" Text="" ForeColor="Gray" Font-Size="8"
                                Font-Names="Verdana"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:LinkButton Style="text-decoration: none" onmouseover="this.style.textDecoration='underline'"
                                onmouseout="this.style.textDecoration='none'" runat="server" ID="linkPreviousListing"
                                Text="View Previous Listing" ForeColor="#3b5998" Font-Size="9" Font-Names="Verdana"
                                OnClick="linkPreviousListing_Click" />
                            <asp:Label ID="lblPreviousListingCount" runat="server" Text="" ForeColor="Gray" Font-Size="8"
                                Font-Names="Verdana"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td height="58">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>

